/*
 * Copyright (c) Tan Menglong.
 * All rights reserved.
 * 
 * This file is part of the RabbitOS.  The RabbitOS is free software, also known
 * as "open source;" you can redistribute it and/or modify it under the terms
 * of the GNU General Public License (GPL), version 2, as published by the Free
 * Software Foundation (FSF).  To explore alternate licensing terms, contact
 * the Tan Menglong at TanMenglong@gmail.com or +86-15972108715.
 * 
 * The RabbitOS is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE.  See the GPL for more details.  You should have
 * received a copy of the GPL along with the RabbitOS; see the file COPYING.  If
 * not, write to the FSF, 59 Temple Place #330, Boston, MA 02111-1307, USA.
 */
/*
 * Global definations.
 * 03-May-08
 */

#ifndef _GLOBAL_H
#define _GLOBAL_H

#ifndef NULL
#define NULL ((void *)0)
#endif							//NULL

#ifndef EXIT_SUCCESS
#define EXIT_SUCCESS 0
#endif							//EXIT_SUCCESS

typedef struct {
	char buffer[1024];
	int length;
} buffer_char_t;

typedef struct {
	int buffer[1024];
	int lentgh;
} buffer_int_t;

#endif							//_GLOBAL_H
